<template>
  <div class="app">
    <!-- 搜索栏 -->
    <search-bar></search-bar>

    <!-- 菜单栏 -->
    <div class="menus">
      <div class="menu-item">
        <div class="icon">
          <i class="iconfont icon-renqibang"></i>
        </div>
        <div class="name">专业技能</div>
      </div>
      <div class="menu-item">
        <div class="icon">
          <i class="iconfont icon-icon_renqibangdan"></i>
        </div>
        <div class="name">创造能力</div>
      </div>
      <div class="menu-item">
        <div class="icon">
          <i class="iconfont icon-collect-active"></i>
        </div>
        <div class="name">组织文体</div>
      </div>
      <div class="menu-item">
        <div class="icon">
          <i class="iconfont icon-bangdan"></i>
        </div>
        <div class="name">社会实践</div>
      </div>
    </div>

    <!-- 强力推荐 -->
    <div class="recommend">
      <!-- 筛选栏 -->
      <div class="recommend-header">
        <div class="title">强力推荐</div>
        <div class="replace">换一批</div>
      </div>
      <!-- 列表 -->
      <ul class="list">
            <li class="list-item">
          <div class="image"></div>
          <div class="info">
            <div class="title">
              <div class="name">社团活动</div>
              <div class="desc">精选</div>
            </div>
            <div class="address"> 广大华软2019首届“篮协杯”三人篮球赛火热报名中！</div>
            <div class="result">
              <div class="time">07/30 周三</div>
              <div class="count">0人报名</div>
            </div>
          </div>
        </li>
        <!-- <li class="list-item">
          <div class="image"></div>
          <div class="info">
            <div class="title">
              <div class="name">文体活动</div>
              <div class="desc">精选</div>
            </div>
            <div class="address">广州大学华软软件学院开学典礼</div>
            <div class="result">
              <div class="time">07/30 周三</div>
              <div class="count">19000人报名</div>
            </div>
          </div>
        </li> -->
        <!-- <li class="list-item">
          <div class="image"></div>
          <div class="info">
            <div class="title">
              <div class="name">文体活动</div>
              <div class="desc">精选</div>
            </div>
            <div class="address">广州大学华软软件学院开学典礼</div>
            <div class="result">
              <div class="time">07/30 周三</div>
              <div class="count">19000人报名</div>
            </div>
          </div>
        </li> -->
        <li class="list-item">
          <div class="image"></div>
          <div class="info">
            <div class="title">
              <div class="name">社团活动</div>
              <div class="desc">精选</div>
            </div>
            <div class="address"> 广大华软2019首届“篮协杯”三人篮球赛火热报名中！</div>
            <div class="result">
              <div class="time">07/30 周三</div>
              <div class="count">0人报名</div>
            </div>
          </div>
        </li>
            <li class="list-item">
          <div class="image"></div>
          <div class="info">
            <div class="title">
              <div class="name">社团活动</div>
              <div class="desc">精选</div>
            </div>
            <div class="address"> 广大华软2019首届“篮协杯”三人篮球赛火热报名中！</div>
            <div class="result">
              <div class="time">07/30 周三</div>
              <div class="count">0人报名</div>
            </div>
          </div>
        </li>
          <!-- <li class="list-item">
            <div class="image"></div>
            <div class="info">
              <div class="title">
                <div class="name">文体活动</div>
                <div class="desc">精选</div>
              </div>
              <div class="address">广州大学华软软件学院开学典礼</div>
              <div class="result">
                <div class="time">07/30 周三</div>
                <div class="count">19000人报名</div>
              </div>
            </div>
          </li> -->
      </ul>
    </div>
  </div>
</template>

<script>
import SearchBar from '../components/search-bar'
import {mapState} from 'vuex'
export default {
  name: 'home',
  components: {
    SearchBar
  },
  computed: {
  },
  created() {
  },
}
</script>

<style scoped>
.app {
  padding-top: 50px;
  margin-bottom: 70px;
}

/* 菜单栏 */
.menus {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
}
.menus .menu-item {
  width: 50px;
}
.menus .menu-item .icon {
  background-color: #0fbcf9;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}
.menus .menu-item .icon .iconfont {
  color: white;
  font-size: 22px;
}
.menus .menu-item .name {
  text-align: center;
  font-size: 12px;
  color: #444;
}

/* 强力推荐 */
.recommend .recommend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  padding: 0 20px;
  background-color: white;
}
.recommend .recommend-header .title {
  font-size: 14px;
}
.recommend .recommend-header .replace {
  font-size: 13px;
}
.recommend .list .list-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  background-color: white;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #444;
}
.recommend .list .list-item:last-of-type {
  margin-bottom: 0;
}
.recommend .list .list-item .image {
  width: 120px;
  min-width: 120px;
  height: 90px;
  background-color: #0fbcf9;
  overflow: hidden;
  margin-right: 15px;
}
.recommend .list .list-item .info .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.recommend .list .list-item .info .title .desc {
  color: #c6b04d;
  white-space: nowrap;
  align-self: flex-start;
}
.recommend .list .list-item .info .address {
  margin-bottom: 8px;
}
.recommend .list .list-item .info .result {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
